<template>
    <view>答题结果页面</view>
    <view>
        <button open-type="share">邀请朋友测一测</button>
    </view>
</template>

<script setup lang="ts">
import { onLoad, onShareAppMessage } from "@dcloudio/uni-app";
import { get_depressionApi, get_prematureApi, get_insomniaApi } from '@/http/api'

onLoad((e: any) => {
    console.log('答题结果：', JSON.parse(e.params))
    const obj = JSON.parse(e.params)
    uni.setNavigationBarTitle({
        title: obj.title + "结果"
    })
})





</script>

<style scoped></style>